#ifndef ITEM_H
#define ITEM_H

#include <iostream>
#include <string>
#include "DateTime.h"
#include "PaymentStatus.h"

using namespace std;

class Item{
private:
	DateTime _date;
	string _name;
	double _amount;
	PaymentStatus _status;

public:
	Item(DateTime date,string name, double amount, PaymentStatus status);
	void updateData(DateTime date, string name, double amount, PaymentStatus status);
	double getAmount();
	PaymentStatus getStatus();
	string toString();
	bool compareDate(DateTime date);
	string getName();
	DateTime getDateTime();
};
#endif